import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useLoadingStore = defineStore('loading', () => {
    const loading = ref(false)
    const setLoading = (value) => {
        loading.value = value
    }
    return { loading, setLoading }
})